Crate egui_winit
source · [−]Expand description
The library translates winit events to egui, handled copy/paste, updates the cursor, open links clicked in egui, etc.
Feature flags
-
bytemuck
—bytemuck
enables you to cast [egui::epaint::Vertex
], [egui::Vec2
] etc to&[u8]
. -
clipboard
(enabled by default) — Enable cut/copy/paste to OS clipboard. If disabled a clipboard will be simulated so you can still copy/paste within the egui app. -
links
(enabled by default) — Enable opening links in a browser when an egui hyperlink is clicked. -
puffin
— Enable profiling with thepuffin
crate. -
screen_reader
— Experimental support for a screen reader. -
serde
— Allow serialization ofWindowSettings
usingserde
.
Optional dependencies
document-features
— Enable this when generating docs.
Re-exports
Modules
Structs
Handles the integration between egui and winit.
Can be used to store native window settings (position and size).